package com.meilai.project.entity.personnel.onTurn;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meilai.project.dto.workflow.FlowBusinessDataSuperEntity;
import java.time.LocalDate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 异动申请
 * </p>
 *
 * @author xchen
 * @since 2022-01-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("transfer_apply")
@ApiModel(value="TransferApply对象", description="异动申请")
public class TransferApply extends FlowBusinessDataSuperEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "花名册id")
    private Integer roster_id;

    @ApiModelProperty(value = "调岗原因")
    private String reason;

    @ApiModelProperty(value = "原岗位职责")
    private String old_job_duty;

    @ApiModelProperty(value = "现岗位职责")
    private String new_job_duty;

    @ApiModelProperty(value = "是否调薪  0：否  1：是")
    private Boolean change_salary;

    @ApiModelProperty(value = "调整前薪资")
    private BigDecimal before_change_salary;

    @ApiModelProperty(value = "调整后薪资")
    private BigDecimal after_change_salary;

    @ApiModelProperty(value = "生效日期")
    private LocalDate effect_date;


    public static final String ROSTER_ID = "roster_id";

    public static final String REASON = "reason";

    public static final String OLD_JOB_DUTY = "old_job_duty";

    public static final String NEW_JOB_DUTY = "new_job_duty";

    public static final String CHANGE_SALARY = "change_salary";

    public static final String BEFORE_CHANGE_SALARY = "before_change_salary";

    public static final String AFTER_CHANGE_SALARY = "after_change_salary";

    public static final String EFFECT_DATE = "effect_date";

}
